package com.jjy.service;

import com.jjy.pojo.Goods;
import com.jjy.pojo.Order;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("orderService")
public interface OrderService {
  Order getOrderById(Long id);
  List<Order> getOrderByNo(Long number);
  List<Order> getAllOrder();
  List<Order> getOrderByParams(Order order);
  int createOrder(Order order);
  int updateOrder(Order order);
  Long getMaxOrderNo();
}